Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make EntityCache per request #45

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

kindermax
Copy link
Contributor

@kindermax kindermax commented Dec 4, 2024

Since we can remove projects via UI, we need to update worker cache somehow:

  1. We either need some mechanism to tell all workers to update its local cache
  2. Or move cache to Redis
  3. Or make cache per request (which mostly makes it useless) for now.

We choose 3 option because it fixes the bug and is the fastest to implement.

Later we can move to 1 or 2 option if we need to or completely remove the cache.

Since we can remove projects via UI, we need to update worker cache somehow:

1. We either need some mechanism to tell all workers to update its local cache
2. Or move cache to Redis
3. Or make cache per request (which mostly makes it useless) for now.

We choose 3 option because it fixes the but and is the fastest to implement.

Later we can move to 1 or 2 option if we need to or completely remove the cache.
@kindermax kindermax merged commit 16e8cbe into main Dec 4, 2024
1 check passed
@kindermax kindermax deleted the make-entity-cache-per-request branch December 4, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant